package com.ruoyi.configuration.domain;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.entity.concat.ITimeEntity;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.common.core.domain.Entity;

/**
 * 推荐奖励配置对象 mg_nvitation_rewards_conf
 * 
 * @author ruoyi
 * @date 2024-01-17
 */
public class MgNvitationRewardsConf extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private String id;

    /** 推荐人数 */
    @Excel(name = "推荐人数")
    private Integer invitationNum;

    /** 奖励金额元 */
    @Excel(name = "奖励金额元")
    private BigDecimal rewardAmount;

    /** 排序 */
    @Excel(name = "排序")
    private String sort;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setInvitationNum(Integer invitationNum) 
    {
        this.invitationNum = invitationNum;
    }

    public Integer getInvitationNum() 
    {
        return invitationNum;
    }
    public void setRewardAmount(BigDecimal rewardAmount) 
    {
        this.rewardAmount = rewardAmount;
    }

    public BigDecimal getRewardAmount() 
    {
        return rewardAmount;
    }
    public void setSort(String sort) 
    {
        this.sort = sort;
    }

    public String getSort() 
    {
        return sort;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("invitationNum", getInvitationNum())
            .append("rewardAmount", getRewardAmount())
            .append("sort", getSort())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
